package com.lovo.ssc.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 后台库存商品表
 * </p>
 *
 * @author zhj
 * @since 2022-07-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysGoods extends Model {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String batch;

    /**
     * 一类商品的编号
     */
    private String code;

    @TableField("stockNum")
    private Integer stocknum;

    @TableField("inPrice")
    private Float inprice;

    @TableField("sellPrice")
    private Float sellprice;

    private String specs;

    private String type;

    @TableField("goodsName")
    private String goodsname;

    /**
     * 0-未上架 1-待上架  2-已上架 
     */
    private String state;

    private Integer scope;


}
